package com.xuanwu.ai.flow.dto;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
public class StepNodeDataDTO {

    /**
     * 流程节点id
     */
    private String nodeId;

    /**
     * 流程节点名称
     */
    private String nodeName;

    /**
     * 流程状态
     */
    private Integer status;

    /**
     * 流程产生的数据
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private JSONObject resultData;

    /**
     * 流程异常信息
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String errorMsg;
}
